<template>
  <div class="printTemp">
    <!-- 任务通知单 -->
    <div class="taskForm">
      <div class="printTitle">任务通知单</div>
      <div class="printCon">
        <div class="printName flexer">
          <div class="divLeft fontStyle">名称</div>
          <div class="divRight fontStyle">{{ printData["零件名称"] }}</div>
        </div>
        <div class="numTime flexer">
          <div class="printNumber divRight flexer">
            <div class="divLeft fontStyle">数量</div>
            <div class="divRight fontStyle">{{ printData["数量"] }}</div>
          </div>
          <div class="printTime divRight flexer">
            <div class="divLeft fontStyle">开始时间</div>
            <div class="divRight fontStyle">
              {{ printData["开始加工日期"] }}
            </div>
          </div>
        </div>
        <div class="nameCodeDiv flexer">
          <div class="nameCodeLeft">
            <div class="nameCode">
              <div class="nameDiv fontStyle">工艺名称</div>
              <!-- <div class="codeDiv codeFontStyle">二维码</div> -->
            </div>
            <div class="nameCode">
              <div class="nameDiv fontStyle">工艺名称</div>
              <!-- <div class="codeDiv codeFontStyle">二维码</div> -->
            </div>
          </div>
          <div class="nameCodeRight">
            <div class="nameCode">
              <div class="nameDiv fontStyle">{{ printData["工艺-1"] }}</div>
              <!-- <div class="codeDiv codeFontStyle">
              </div> -->
            </div>
            <div class="nameCode">
              <div class="nameDiv fontStyle">{{ printData["工艺-2"] }}</div>
              <!-- <div class="codeDiv codeFontStyle">
              </div> -->
            </div>
            <div class="nameCode">
              <div class="nameDiv fontStyle">{{ printData["工艺-3"] }}</div>
              <!-- <div class="codeDiv codeFontStyle">
              </div> -->
            </div>
            <div class="nameCode">
              <div class="nameDiv fontStyle">{{ printData["工艺-4"] }}</div>
              <!-- <div class="codeDiv codeFontStyle">
              </div> -->
            </div>
            <div class="nameCode">
              <div class="nameDiv fontStyle">{{ printData["工艺-5"] }}</div>
              <!-- <div class="codeDiv codeFontStyle">
              </div> -->
            </div>
            <div class="nameCode">
              <div class="nameDiv fontStyle">{{ printData["工艺-6"] }}</div>
              <!-- <div class="codeDiv codeFontStyle">
              </div> -->
            </div>
            <div class="nameCode">
              <div class="nameDiv fontStyle">{{ printData["工艺-7"] }}</div>
              <!-- <div class="codeDiv codeFontStyle">
              </div> -->
            </div>
            <div class="nameCode">
              <div class="nameDiv fontStyle">{{ printData["工艺-8"] }}</div>
              <!-- <div class="codeDiv codeFontStyle">
              </div> -->
            </div>
            <div class="nameCode">
              <div class="nameDiv fontStyle">{{ printData["工艺-9"] }}</div>
              <!-- <div class="codeDiv codeFontStyle">
              </div> -->
            </div>
            <div class="nameCode">
              <div class="nameDiv fontStyle">{{ printData["工艺-10"] }}</div>
              <!-- <div class="codeDiv codeFontStyle">
              </div> -->
            </div>
          </div>
        </div>
        <div class="img-div">
          <img :src="printData['工件图片']" alt="">
        </div>
      </div>
    </div>

    <!-- 生产执行单 -->
    <div class="pursueForm">
      <!-- <div class="pursueDiv"> -->
        <!-- 工艺-1 -->
        <div class="pursueDiv" v-if="printData['工艺-1'].trim().length">
          <div class="pursueTitle">生产执行工单</div>
          <div class="pursueCon flexer">
            <div class="pursueLeft">
              <div class="taskNum flexer">
                <div class="divLeft fontStyle">任务单号</div>
                <div class="divRight fontStyle">{{ printData["序号"] }}</div>
              </div>
              <div class="taskNum flexer">
                <div class="divLeft fontStyle">加工车间</div>
                <div class="divRight fontStyle">
                  {{ printData["加工车间"] }}
                </div>
              </div>
              <div class="taskNum2 flexer">
                <div class="divLeft fontStyle">生产数量</div>
                <div class="divRight fontStyle">{{ printData["数量"] }}</div>
              </div>
            </div>
            <div class="pursueMin">
              <div class="taskNum flexer">
                <div class="divLeft fontStyle">零件图号</div>
                <div class="divRight fontStyle">
                  {{ printData["零件图号"] }}
                </div>
              </div>
              <div class="taskNum flexer">
                <div class="divLeft fontStyle">完工时间</div>
                <div class="divRight fontStyle">{{ printData["状态_1"] }}</div>
              </div>
              <div class="taskNum2 flexer">
                <div class="divLeft fontStyle"></div>
                <div class="divRight fontStyle"></div>
              </div>
            </div>
            <div class="pursueRight">
              <vue-qr
                :text="qrString(2)"
                :size="100"
                :margin="0"
                style="margin-left: -20px;"
                colorDark="black"
                colorLight="white"
              ></vue-qr>
            </div>
          </div>
          <div class="pursueBottom flexer">
            <div class="pursueLeft">
              <div class="taskNum flexer">
                <div class="divLeft fontStyle">本工序名称</div>
                <div class="divRight fontStyle">{{ printData["工艺-1"] }}</div>
              </div>
            </div>
            <!-- <div class="pursueMin">
            <div class="taskNum flexer">
              <div class="divLeft fontStyle">下工序名称</div>
              <div class="divRight fontStyle">{{ printData["零件图号 "] }}</div>
            </div>
          </div> -->
            <!-- <div class="pursueRight"></div> -->
          </div>
        </div>
        <!-- 工艺-2 -->
        <div class="pursueDiv" v-if="printData['工艺-2'].trim().length">
          <div class="pursueTitle">生产执行工单</div>
          <div class="pursueCon flexer">
            <div class="pursueLeft">
              <div class="taskNum flexer">
                <div class="divLeft fontStyle">任务单号</div>
                <div class="divRight fontStyle">{{ printData["序号"] }}</div>
              </div>
              <div class="taskNum flexer">
                <div class="divLeft fontStyle">加工车间</div>
                <div class="divRight fontStyle">
                  {{ printData["加工车间"] }}
                </div>
              </div>
              <div class="taskNum2 flexer">
                <div class="divLeft fontStyle">生产数量</div>
                <div class="divRight fontStyle">{{ printData["数量"] }}</div>
              </div>
            </div>
            <div class="pursueMin">
              <div class="taskNum flexer">
                <div class="divLeft fontStyle">零件图号</div>
                <div class="divRight fontStyle">
                  {{ printData["零件图号"] }}
                </div>
              </div>
              <div class="taskNum flexer">
                <div class="divLeft fontStyle">完工时间</div>
                <div class="divRight fontStyle">{{ printData["状态_2"] }}</div>
              </div>
              <div class="taskNum2 flexer">
                <div class="divLeft fontStyle"></div>
                <div class="divRight fontStyle"></div>
              </div>
            </div>
            <div class="pursueRight">
              <vue-qr
                :text="qrString(2)"
                :size="100"
                :margin="0"
                style="margin-left: -20px;"
                colorDark="black"
                colorLight="white"
              ></vue-qr>
            </div>
          </div>
          <div class="pursueBottom flexer">
            <div class="pursueLeft">
              <div class="taskNum flexer">
                <div class="divLeft fontStyle">本工序名称</div>
                <div class="divRight fontStyle">{{ printData["工艺-2"] }}</div>
              </div>
            </div>
            <!-- <div class="pursueMin">
            <div class="taskNum flexer">
              <div class="divLeft fontStyle">下工序名称</div>
              <div class="divRight fontStyle">{{ printData["零件图号 "] }}</div>
            </div>
          </div> -->
            <!-- <div class="pursueRight"></div> -->
          </div>
        </div>
        <!-- 工艺-3 -->
        <div class="pursueDiv" v-if="printData['工艺-3'].trim().length">
          <div class="pursueTitle">生产执行工单</div>
          <div class="pursueCon flexer">
            <div class="pursueLeft">
              <div class="taskNum flexer">
                <div class="divLeft fontStyle">任务单号</div>
                <div class="divRight fontStyle">{{ printData["序号"] }}</div>
              </div>
              <div class="taskNum flexer">
                <div class="divLeft fontStyle">加工车间</div>
                <div class="divRight fontStyle">
                  {{ printData["加工车间"] }}
                </div>
              </div>
              <div class="taskNum2 flexer">
                <div class="divLeft fontStyle">生产数量</div>
                <div class="divRight fontStyle">{{ printData["数量"] }}</div>
              </div>
            </div>
            <div class="pursueMin">
              <div class="taskNum flexer">
                <div class="divLeft fontStyle">零件图号</div>
                <div class="divRight fontStyle">
                  {{ printData["零件图号"] }}
                </div>
              </div>
              <div class="taskNum flexer">
                <div class="divLeft fontStyle">完工时间</div>
                <div class="divRight fontStyle">{{ printData["状态_3"] }}</div>
              </div>
              <div class="taskNum2 flexer">
                <div class="divLeft fontStyle"></div>
                <div class="divRight fontStyle"></div>
              </div>
            </div>
            <div class="pursueRight">
              <vue-qr
                :text="qrString(3)"
                :size="100"
                :margin="0"
                style="margin-left: -20px;"
                colorDark="black"
                colorLight="white"
              ></vue-qr>
            </div>
          </div>
          <div class="pursueBottom flexer">
            <div class="pursueLeft">
              <div class="taskNum flexer">
                <div class="divLeft fontStyle">本工序名称</div>
                <div class="divRight fontStyle">{{ printData["工艺-3"] }}</div>
              </div>
            </div>
            <!-- <div class="pursueMin">
            <div class="taskNum flexer">
              <div class="divLeft fontStyle">下工序名称</div>
              <div class="divRight fontStyle">{{ printData["零件图号 "] }}</div>
            </div>
          </div> -->
            <!-- <div class="pursueRight"></div> -->
          </div>
        </div>
        <!-- 工艺-4 -->
        <div class="pursueDiv" v-if="printData['工艺-4'].trim().length">
          <div class="pursueTitle">生产执行工单</div>
          <div class="pursueCon flexer">
            <div class="pursueLeft">
              <div class="taskNum flexer">
                <div class="divLeft fontStyle">任务单号</div>
                <div class="divRight fontStyle">{{ printData["序号"] }}</div>
              </div>
              <div class="taskNum flexer">
                <div class="divLeft fontStyle">加工车间</div>
                <div class="divRight fontStyle">
                  {{ printData["加工车间"] }}
                </div>
              </div>
              <div class="taskNum2 flexer">
                <div class="divLeft fontStyle">生产数量</div>
                <div class="divRight fontStyle">{{ printData["数量"] }}</div>
              </div>
            </div>
            <div class="pursueMin">
              <div class="taskNum flexer">
                <div class="divLeft fontStyle">零件图号</div>
                <div class="divRight fontStyle">
                  {{ printData["零件图号"] }}
                </div>
              </div>
              <div class="taskNum flexer">
                <div class="divLeft fontStyle">完工时间</div>
                <div class="divRight fontStyle">{{ printData["状态_4"] }}</div>
              </div>
              <div class="taskNum2 flexer">
                <div class="divLeft fontStyle"></div>
                <div class="divRight fontStyle"></div>
              </div>
            </div>
            <div class="pursueRight">
              <vue-qr
                :text="qrString(4)"
                :size="100"
                :margin="0"
                style="margin-left: -20px;"
                colorDark="black"
                colorLight="white"
              ></vue-qr>
            </div>
          </div>
          <div class="pursueBottom flexer">
            <div class="pursueLeft">
              <div class="taskNum flexer">
                <div class="divLeft fontStyle">本工序名称</div>
                <div class="divRight fontStyle">{{ printData["工艺-4"] }}</div>
              </div>
            </div>
            <!-- <div class="pursueMin">
            <div class="taskNum flexer">
              <div class="divLeft fontStyle">下工序名称</div>
              <div class="divRight fontStyle">{{ printData["零件图号 "] }}</div>
            </div>
          </div> -->
            <!-- <div class="pursueRight"></div> -->
          </div>
        </div>
        <!-- 工艺-5 -->
        <div class="pursueDiv" v-if="printData['工艺-5'].trim().length">
          <div class="pursueTitle">生产执行工单</div>
          <div class="pursueCon flexer">
            <div class="pursueLeft">
              <div class="taskNum flexer">
                <div class="divLeft fontStyle">任务单号</div>
                <div class="divRight fontStyle">{{ printData["序号"] }}</div>
              </div>
              <div class="taskNum flexer">
                <div class="divLeft fontStyle">加工车间</div>
                <div class="divRight fontStyle">
                  {{ printData["加工车间"] }}
                </div>
              </div>
              <div class="taskNum2 flexer">
                <div class="divLeft fontStyle">生产数量</div>
                <div class="divRight fontStyle">{{ printData["数量"] }}</div>
              </div>
            </div>
            <div class="pursueMin">
              <div class="taskNum flexer">
                <div class="divLeft fontStyle">零件图号</div>
                <div class="divRight fontStyle">
                  {{ printData["零件图号"] }}
                </div>
              </div>
              <div class="taskNum flexer">
                <div class="divLeft fontStyle">完工时间</div>
                <div class="divRight fontStyle">{{ printData["状态_5"] }}</div>
              </div>
              <div class="taskNum2 flexer">
                <div class="divLeft fontStyle"></div>
                <div class="divRight fontStyle"></div>
              </div>
            </div>
            <div class="pursueRight">
              <vue-qr
                :text="qrString(5)"
                :size="100"
                :margin="0"
                style="margin-left: -20px;"
                colorDark="black"
                colorLight="white"
              ></vue-qr>
            </div>
          </div>
          <div class="pursueBottom flexer">
            <div class="pursueLeft">
              <div class="taskNum flexer">
                <div class="divLeft fontStyle">本工序名称</div>
                <div class="divRight fontStyle">{{ printData["工艺-5"] }}</div>
              </div>
            </div>
            <!-- <div class="pursueMin">
            <div class="taskNum flexer">
              <div class="divLeft fontStyle">下工序名称</div>
              <div class="divRight fontStyle">{{ printData["零件图号 "] }}</div>
            </div>
          </div> -->
            <!-- <div class="pursueRight"></div> -->
          </div>
        </div>
        <!-- 工艺-6 -->
        <div class="pursueDiv" v-if="printData['工艺-6'].trim().length">
          <div class="pursueTitle">生产执行工单</div>
          <div class="pursueCon flexer">
            <div class="pursueLeft">
              <div class="taskNum flexer">
                <div class="divLeft fontStyle">任务单号</div>
                <div class="divRight fontStyle">{{ printData["序号"] }}</div>
              </div>
              <div class="taskNum flexer">
                <div class="divLeft fontStyle">加工车间</div>
                <div class="divRight fontStyle">
                  {{ printData["加工车间"] }}
                </div>
              </div>
              <div class="taskNum2 flexer">
                <div class="divLeft fontStyle">生产数量</div>
                <div class="divRight fontStyle">{{ printData["数量"] }}</div>
              </div>
            </div>
            <div class="pursueMin">
              <div class="taskNum flexer">
                <div class="divLeft fontStyle">零件图号</div>
                <div class="divRight fontStyle">
                  {{ printData["零件图号"] }}
                </div>
              </div>
              <div class="taskNum flexer">
                <div class="divLeft fontStyle">完工时间</div>
                <div class="divRight fontStyle">{{ printData["状态_6"] }}</div>
              </div>
              <div class="taskNum2 flexer">
                <div class="divLeft fontStyle"></div>
                <div class="divRight fontStyle"></div>
              </div>
            </div>
            <div class="pursueRight">
              <vue-qr
                :text="qrString(6)"
                :size="100"
                :margin="0"
                style="margin-left: -20px;"
                colorDark="black"
                colorLight="white"
              ></vue-qr>
            </div>
          </div>
          <div class="pursueBottom flexer">
            <div class="pursueLeft">
              <div class="taskNum flexer">
                <div class="divLeft fontStyle">本工序名称</div>
                <div class="divRight fontStyle">{{ printData["工艺-6"] }}</div>
              </div>
            </div>
            <!-- <div class="pursueMin">
            <div class="taskNum flexer">
              <div class="divLeft fontStyle">下工序名称</div>
              <div class="divRight fontStyle">{{ printData["零件图号 "] }}</div>
            </div>
          </div> -->
            <!-- <div class="pursueRight"></div> -->
          </div>
        </div>
        <!-- 工艺-7 -->
        <div class="pursueDiv" v-if="printData['工艺-7'].trim().length">
          <div class="pursueTitle">生产执行工单</div>
          <div class="pursueCon flexer">
            <div class="pursueLeft">
              <div class="taskNum flexer">
                <div class="divLeft fontStyle">任务单号</div>
                <div class="divRight fontStyle">{{ printData["序号"] }}</div>
              </div>
              <div class="taskNum flexer">
                <div class="divLeft fontStyle">加工车间</div>
                <div class="divRight fontStyle">
                  {{ printData["加工车间"] }}
                </div>
              </div>
              <div class="taskNum2 flexer">
                <div class="divLeft fontStyle">生产数量</div>
                <div class="divRight fontStyle">{{ printData["数量"] }}</div>
              </div>
            </div>
            <div class="pursueMin">
              <div class="taskNum flexer">
                <div class="divLeft fontStyle">零件图号</div>
                <div class="divRight fontStyle">
                  {{ printData["零件图号"] }}
                </div>
              </div>
              <div class="taskNum flexer">
                <div class="divLeft fontStyle">完工时间</div>
                <div class="divRight fontStyle">{{ printData["状态_7"] }}</div>
              </div>
              <div class="taskNum2 flexer">
                <div class="divLeft fontStyle"></div>
                <div class="divRight fontStyle"></div>
              </div>
            </div>
            <div class="pursueRight">
              <vue-qr
                :text="qrString(7)"
                :size="100"
                :margin="0"
                style="margin-left: -20px;"
                colorDark="black"
                colorLight="white"
              ></vue-qr>
            </div>
          </div>
          <div class="pursueBottom flexer">
            <div class="pursueLeft">
              <div class="taskNum flexer">
                <div class="divLeft fontStyle">本工序名称</div>
                <div class="divRight fontStyle">{{ printData["工艺-7"] }}</div>
              </div>
            </div>
            <!-- <div class="pursueMin">
            <div class="taskNum flexer">
              <div class="divLeft fontStyle">下工序名称</div>
              <div class="divRight fontStyle">{{ printData["零件图号 "] }}</div>
            </div>
          </div> -->
            <!-- <div class="pursueRight"></div> -->
          </div>
        </div>
        <!-- 工艺-8 -->
        <div class="pursueDiv" v-if="printData['工艺-8'].trim().length">
          <div class="pursueTitle">生产执行工单</div>
          <div class="pursueCon flexer">
            <div class="pursueLeft">
              <div class="taskNum flexer">
                <div class="divLeft fontStyle">任务单号</div>
                <div class="divRight fontStyle">{{ printData["序号"] }}</div>
              </div>
              <div class="taskNum flexer">
                <div class="divLeft fontStyle">加工车间</div>
                <div class="divRight fontStyle">
                  {{ printData["加工车间"] }}
                </div>
              </div>
              <div class="taskNum2 flexer">
                <div class="divLeft fontStyle">生产数量</div>
                <div class="divRight fontStyle">{{ printData["数量"] }}</div>
              </div>
            </div>
            <div class="pursueMin">
              <div class="taskNum flexer">
                <div class="divLeft fontStyle">零件图号</div>
                <div class="divRight fontStyle">
                  {{ printData["零件图号"] }}
                </div>
              </div>
              <div class="taskNum flexer">
                <div class="divLeft fontStyle">完工时间</div>
                <div class="divRight fontStyle">{{ printData["状态_8"] }}</div>
              </div>
              <div class="taskNum2 flexer">
                <div class="divLeft fontStyle"></div>
                <div class="divRight fontStyle"></div>
              </div>
            </div>
            <div class="pursueRight">
              <vue-qr
                :text="qrString(8)"
                :size="100"
                :margin="0"
                style="margin-left: -20px;"
                colorDark="black"
                colorLight="white"
              ></vue-qr>
            </div>
          </div>
          <div class="pursueBottom flexer">
            <div class="pursueLeft">
              <div class="taskNum flexer">
                <div class="divLeft fontStyle">本工序名称</div>
                <div class="divRight fontStyle">{{ printData["工艺-8"] }}</div>
              </div>
            </div>
            <!-- <div class="pursueMin">
            <div class="taskNum flexer">
              <div class="divLeft fontStyle">下工序名称</div>
              <div class="divRight fontStyle">{{ printData["零件图号 "] }}</div>
            </div>
          </div> -->
            <!-- <div class="pursueRight"></div> -->
          </div>
        </div>
        <!-- 工艺-9 -->
        <div class="pursueDiv" v-if="printData['工艺-9'].trim().length">
          <div class="pursueTitle">生产执行工单</div>
          <div class="pursueCon flexer">
            <div class="pursueLeft">
              <div class="taskNum flexer">
                <div class="divLeft fontStyle">任务单号</div>
                <div class="divRight fontStyle">{{ printData["序号"] }}</div>
              </div>
              <div class="taskNum flexer">
                <div class="divLeft fontStyle">加工车间</div>
                <div class="divRight fontStyle">
                  {{ printData["加工车间"] }}
                </div>
              </div>
              <div class="taskNum2 flexer">
                <div class="divLeft fontStyle">生产数量</div>
                <div class="divRight fontStyle">{{ printData["数量"] }}</div>
              </div>
            </div>
            <div class="pursueMin">
              <div class="taskNum flexer">
                <div class="divLeft fontStyle">零件图号</div>
                <div class="divRight fontStyle">
                  {{ printData["零件图号"] }}
                </div>
              </div>
              <div class="taskNum flexer">
                <div class="divLeft fontStyle">完工时间</div>
                <div class="divRight fontStyle">{{ printData["状态_9"] }}</div>
              </div>
              <div class="taskNum2 flexer">
                <div class="divLeft fontStyle"></div>
                <div class="divRight fontStyle"></div>
              </div>
            </div>
            <div class="pursueRight">
              <vue-qr
                :text="qrString(9)"
                :size="100"
                :margin="0"
                style="margin-left: -20px;"
                colorDark="black"
                colorLight="white"
              ></vue-qr>
            </div>
          </div>
          <div class="pursueBottom flexer">
            <div class="pursueLeft">
              <div class="taskNum flexer">
                <div class="divLeft fontStyle">本工序名称</div>
                <div class="divRight fontStyle">{{ printData["工艺-9"] }}</div>
              </div>
            </div>
            <!-- <div class="pursueMin">
            <div class="taskNum flexer">
              <div class="divLeft fontStyle">下工序名称</div>
              <div class="divRight fontStyle">{{ printData["零件图号 "] }}</div>
            </div>
          </div> -->
            <!-- <div class="pursueRight"></div> -->
          </div>
        </div>
        <!-- 工艺-10 -->
        <div class="pursueDiv" v-if="printData['工艺-10'].trim().length">
          <div class="pursueTitle">生产执行工单</div>
          <div class="pursueCon flexer">
            <div class="pursueLeft">
              <div class="taskNum flexer">
                <div class="divLeft fontStyle">任务单号</div>
                <div class="divRight fontStyle">{{ printData["序号"] }}</div>
              </div>
              <div class="taskNum flexer">
                <div class="divLeft fontStyle">加工车间</div>
                <div class="divRight fontStyle">
                  {{ printData["加工车间"] }}
                </div>
              </div>
              <div class="taskNum2 flexer">
                <div class="divLeft fontStyle">生产数量</div>
                <div class="divRight fontStyle">{{ printData["数量"] }}</div>
              </div>
            </div>
            <div class="pursueMin">
              <div class="taskNum flexer">
                <div class="divLeft fontStyle">零件图号</div>
                <div class="divRight fontStyle">
                  {{ printData["零件图号"] }}
                </div>
              </div>
              <div class="taskNum flexer">
                <div class="divLeft fontStyle">完工时间</div>
                <div class="divRight fontStyle">{{ printData["状态_10"] }}</div>
              </div>
              <div class="taskNum2 flexer">
                <div class="divLeft fontStyle"></div>
                <div class="divRight fontStyle"></div>
              </div>
            </div>
            <div class="pursueRight">
              <vue-qr
                :text="qrString(1)"
                :size="100"
                :margin="0"
                style="margin-left: -20px;"
                colorDark="black"
                colorLight="white"
              ></vue-qr>
            </div>
          </div>
          <div class="pursueBottom flexer">
            <div class="pursueLeft">
              <div class="taskNum flexer">
                <div class="divLeft fontStyle">本工序名称</div>
                <div class="divRight fontStyle">{{ printData["工艺-10"] }}</div>
              </div>
            </div>
            <!-- <div class="pursueMin">
            <div class="taskNum flexer">
              <div class="divLeft fontStyle">下工序名称</div>
              <div class="divRight fontStyle">{{ printData["零件图号 "] }}</div>
            </div>
          </div> -->
            <!-- <div class="pursueRight"></div> -->
          </div>
        </div>
      </div>
    <!-- </div> -->
  </div>
</template>

<script>
import VueQr from "vue-qr";
export default {
  components: { VueQr },
  props: {
    printData: {
      type: Object,
    },
  },
  data() {
    return {};
  },
  computed: {},
  methods: {
    qrString(techNum) {
      let obj = {
        // result: {
        //   // executionId:
        //   //   this.printData.id + "-" + this.printData["序号"] + "-" + techNum,
        //   executionId:"37-2-1",
        //   QRCode: "ExecutionOrder",
        // },
        // scanType: "QR_CODE",
        // charSet: "utf8",
        // path: "",
        // errMsg: "scanCode:ok",
        type: 1,
        executionId:
          this.printData.id + "-" + this.printData["序号"] + "-" + techNum,
        QRCode: "ExecutionOrder",
      };
      return JSON.stringify(obj);
    },
  },
  watch: {
    printData: {
      deep: true,
      handler: function(newVal) {
        this.pri = newVal;
        console.log(newVal);
      },
    },
  },
};
</script>

<style scoped lang="less">
@import "index";
</style>
